
package com.jbbmobile.hackathon.Model;

import java.io.Serializable;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Cached;

@Cached
public class HackObject implements Serializable{
	private static final long serialVersionUID = 8819873520423737739L;
	@Id private Long id;
	private String name;
	private double longtitude;
	private double latitude;
	
	public HackObject() {}
	
	public HackObject(String name) {
		this.setName(name);
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getId() {
		return id;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getName() {
		return name;
	}

	public void setLongtitude(double longtitude) {
		this.longtitude = longtitude;
	}

	public double getLongtitude() {
		return longtitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public double getLatitude() {
		return latitude;
	}
	
}
